﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PannerLogoUC.ascx.cs"
    Inherits="VCN.home.UC.PannerLogo" %>
<marquee scrollamount="3" scrolldelay="2" onmouseout="this.start()" onmouseover="this.stop()"
    behavior="alternate" direction="left">
<span>
<%VCN.App.DataAccessLayer.ImageLogoDAO imagelogoDao = new VCN.App.DataAccessLayer.ImageLogoDAO();
  System.Collections.Generic.List<VCN.App.DataTransferObjects.ImageLogo> listimagelog = imagelogoDao.selectFilter2List(2);
  if (listimagelog != null && listimagelog.Count != 0)
  {

      foreach (VCN.App.DataTransferObjects.ImageLogo vl_tem in listimagelog)
      {
          if (vl_tem.Status)
              Response.Write(string.Format("<a target='_blank' title='{0}' href='{1}'><img src='../home/Images/Logo/{2}' alt='{3}'/></a>", vl_tem.Name, vl_tem.Link, vl_tem.Image, vl_tem.Name));
      }
  } 
       %>    
</span>
</marquee>
